package org.batatasframework.support.charts.baidu;

public class ChartSerieBar extends ChartSerie{
	//x轴的索引
	private Number xAxisIndex = 0;
	//y轴的索引
	private Number yAxisIndex = 0;
	//数据堆叠，同个类目轴上系列配置相同的stack值可以堆叠放置。
	private String stack = null;
	//柱条最小高度，可用于防止某数据项的值过小而影响交互。
	private Number barMinHeight = 0;
	//柱条的宽度，不设时自适应。支持设置成相对于类目宽度的百分比。
	private Number barWidth;
	private ChartLabel label = new ChartLabel();
	public ChartSerieBar() {
		super("bar");
	}

	
	public Number getBarWidth() {
		return barWidth;
	}


	public void setBarWidth(Number barWidth) {
		this.barWidth = barWidth;
	}


	public Number getxAxisIndex() {
		return xAxisIndex;
	}

	public void setxAxisIndex(Number xAxisIndex) {
		this.xAxisIndex = xAxisIndex;
	}

	public Number getyAxisIndex() {
		return yAxisIndex;
	}

	public void setyAxisIndex(Number yAxisIndex) {
		this.yAxisIndex = yAxisIndex;
	}

	public String getStack() {
		return stack;
	}

	public void setStack(String stack) {
		this.stack = stack;
	}

	public Number getBarMinHeight() {
		return barMinHeight;
	}

	public void setBarMinHeight(Number barMinHeight) {
		this.barMinHeight = barMinHeight;
	}


	public ChartLabel getLabel() {
		return label;
	}


	public void setLabel(ChartLabel label) {
		this.label = label;
	}
	
}
